package compilador.lexico;

/**
 * @author   Matias
 */
public class Token {
	/**
	 * @uml.property  name="iD"
	 */
	private String ID;
	/**
	 * @uml.property  name="valor"
	 */
	private String valor;
	
	public Token(String id, String valor){
		this.ID =id;
		this.valor = valor;
	}
	
	public Token(){
		this.ID = "";
		this.valor = "";
	}

	/**
	 * @return
	 * @uml.property  name="iD"
	 */
	public String getID() {
		return ID;
	}

	/**
	 * @param id
	 * @uml.property  name="iD"
	 */
	public void setID(String id) {
		ID = id;
	}
	
	/**
	 * @param valor
	 * @uml.property  name="valor"
	 */
	public void setValor(String valor) {
		this.valor = valor;
	}
	
	/**
	 * @return
	 * @uml.property  name="valor"
	 */
	public String getValor() {
		return valor;
	}
	
}
